/*
 *  Graph.cpp
 *  GraphPaper
 *
 *  Created by Olivier Namet on 25/04/2010.
 *  Copyright 2010 Home. All rights reserved.
 *
 */

#include "Graph.h"



void Graph::addCell(std::string s, float xp, float yp)
{
	cells.push_back(Cell(s,xp,yp));
}


void Graph::addEdge(Port *p1, Port *p2)
{
	edges.push_back(Edge(p1,p2));
}